import {Matirial} from '../../../api/page/model'
const type = 'v-label'
function LabelFactory (obj) {
  if (obj.type !== type) { console.warn('type is no a vLabel but call a LabelFactory') }
  obj.type = type
  return new Matirial(obj)
}

export default LabelFactory
